// ignore_for_file: non_constant_identifier_names, invalid_use_of_protected_member

import 'package:get/get.dart';
import 'package:verse_systems/commom/models/bank_model.dart';
import 'package:verse_systems/commom/models/contact_model.dart';

class AuthenticationState {


  //显示的url
  String positive = "".obs.value;
  String reverse = "".obs.value;
  String face = "".obs.value;

  //上传参数路径
  String positive_path= "".obs.value;
  String reverse_path = "".obs.value;
  String face_path = "".obs.value;

  //信息查询授权书
  String idcardAuthorization = "".obs.value;
  final _agreementIsChecked = true.obs;
  get agreementIsChecked => _agreementIsChecked.value;
  set agreementIsChecked(val) => _agreementIsChecked.value = val;

  List<ContactModel> contact = <ContactModel>[].obs;
  List<BankModel> banks = <BankModel>[].obs;//银行付款方式

  //婚姻状态 学历 职业 贷款用途 芝麻分 关系
  List marital_status = [].obs;
  List education = [].obs;
  List occupation = [].obs;
  List loan_purpose = [].obs;
  List sesame_score = [].obs;
  List emergency_relation = [].obs;


  String user_loan_purpose = "".obs.value;//贷款用途
  String user_education  = "".obs.value;//学历
  String user_marital_status  = "".obs.value;//婚姻状况
  String user_date_of_birth = "".obs.value;//生日
  String user_city_of_residence = "".obs.value;//居住城市

  String user_occupation = "".obs.value;//职业
  String user_sesame_score  = "".obs.value;//芝麻分
  String user_city_of_work  = "".obs.value;//工作城市
  String user_emergency_name_one = "".obs.value;//联系人1
  String user_emergency_phone_one = "".obs.value;//联系人1电话
  String user_emergency_relation_one = "".obs.value;//联系人1关系
  String user_emergency_name_two = "".obs.value;//联系人2
  String user_emergency_phone_two = "".obs.value;//联系人2电话
  String user_emergency_relation_two = "".obs.value;//联系人2关系  


  String  bank_notice  = "".obs.value;//银行提示文本消息
  String  bank_notice_info  = "".obs.value;//银行提示文本消息
  String  country  = "".obs.value;//银行模式
  List    bankcard = [].obs;//银行卡列表

  String bankcard_code = "".obs.value;//银行bankcard_cod "CDB", 
  String bankcard_number= "".obs.value;//银行卡号 "CDB", 
  String real_name= "".obs.value;//银行卡人姓名  "苏阳" 

  // 身份认证提示文案 
  String notice_verify = "".obs.value;
   
  // 身份认证人脸识别是否开启
  bool  openOcr = false.obs.value;

  // 基本信息认证提示文案 
   String notice_infor = "".obs.value;

   

  //展示支付宝是否显示 upload
  bool  upload = false.obs.value;

  //支付宝图片是否必传
  bool  required = false.obs.value;

  //支付宝图片地址
  String alipay_code_url = "".obs.value;

  String alipay_code_path = "".obs.value;

  // 支付宝文案信息
 String alipay_info_explain = "".obs.value;

  AuthenticationState() {
    ///Initialize variables
  }
}
